From a900e98f1f4b2afc53832ed4be3e3bc9fb5cf596 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roger=20Pau=20Monn=C3=A9?= Date: Wed, 7 Dec 2016 17:07:09 +0100 Subject: [PATCH] libacpi: add _FADT_ to the FADT boot flags definitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Reviewed-by: Wei Liu Reviewed-by: Jan Beulich --- tools/libacpi/acpi2_0.h | 4 ++-- tools/libacpi/static_tables.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libacpi/acpi2_0.h b/tools/libacpi/acpi2_0.h index 775eb7a0b9..03c5dcb214 100644 --- a/tools/libacpi/acpi2_0.h +++ b/tools/libacpi/acpi2_0.h @@ -227,8 +227,8 @@ struct acpi_20_fadt { /* * FADT Boot Architecture Flags. */ -#define ACPI_LEGACY_DEVICES (1 << 0) -#define ACPI_8042 (1 << 1) +#define ACPI_FADT_LEGACY_DEVICES (1 << 0) +#define ACPI_FADT_8042 (1 << 1) /* * FADT Fixed Feature Flags. diff --git a/tools/libacpi/static_tables.c b/tools/libacpi/static_tables.c index 617bf681e3..2659153882 100644 --- a/tools/libacpi/static_tables.c +++ b/tools/libacpi/static_tables.c @@ -63,7 +63,7 @@ struct acpi_20_fadt Fadt = { .p_lvl2_lat = 0x0fff, /* >100, means we do not support C2 state */ .p_lvl3_lat = 0x0fff, /* >1000, means we do not support C3 state */ - .iapc_boot_arch = ACPI_8042, + .iapc_boot_arch = ACPI_FADT_8042, .flags = (ACPI_PROC_C1 | ACPI_WBINVD | ACPI_FIX_RTC | ACPI_TMR_VAL_EXT | -- 2.30.2